package com.heima.apis.wemedia.fallback;

import com.heima.apis.wemedia.IWemediaClient;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.enums.AppHttpCodeEnum;
import com.heima.model.user.pojos.ApUser;
import org.springframework.stereotype.Component;

@Component
public class WemediaClientFallback implements IWemediaClient {


    @Override
    public ResponseResult createWmUser(String apUser) {
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR, "创建自媒体用户失败");
    }
}
